/**
 * 
 */
package ch.ifage.web;

import java.io.Serializable;

import javax.enterprise.context.SessionScoped;
import javax.inject.Inject;
import javax.inject.Named;

import org.apache.log4j.Logger;

import ch.ifage.business.service.WorkflowsServiceImpl;

/**
 * @author Christian
 *
 */

/** The name of the instance of this object used in the JSF. */
@Named
/** Only one instance per flow. */
@SessionScoped
public class LoadedWorkflows implements Serializable {
	    
    /**
     * serial id.
     */
    private static final long serialVersionUID = 5065641464003049821L;
    
    /** The default logger for the class. */
    private static final Logger LOGGER = Logger.getLogger(LoadedWorkflows.class);

    /** The service that provides the business logic for the student registration process. */
    @Inject
    private WorkflowsServiceImpl wfsService;
    /**************** il faudra encore cr�er un interface ..... */

    /**
     * @return the wfsService
     */
    public WorkflowsServiceImpl getWfsService() {
        LOGGER.info("getWfsService");    
        return wfsService;
    }

    /**
     * @param wfsService the wfsService to set
     */
    public void setWfsService(final WorkflowsServiceImpl wfsService) {
        this.wfsService = wfsService;
    }
	

}
